package com.vehicle_information_management_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName user_info
 */
@TableName(value ="user_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;


    @TableField(value = "username")
    private String username;


    @TableField(value = "password")
    private String password;

    @TableField(value = "department_id")
    private Integer departmentId;


    @TableField(value = "sex")
    private Integer sex;


    @TableField(value = "age")
    private String age;


    @TableField(value = "phone")
    private String phone;
}